let obj = {};
Object.defineProperty(obj,'a',{
    value:1,
    writable:false,
    configurable:true
})
obj.a = 2;
console.log(obj.a)